export async function query() {
  return [
    {
      key: '1',
      name: 'John Brown',
      age: 32,
      address: 'New York No. 1 Lake Park',
    },
    {
      key: '2',
      name: 'Jim Green',
      age: 42,
      address: 'London No. 1 Lake Park',
    },
    {
      key: '3',
      name: 'Joe Black',
      age: 32,
      address: 'Sidney No. 1 Lake Park',
    },
  ];
}

export async function fakequeryCurrent(token) {
  // return {
  //   name: 'Serati Ma',

  //   userid: '00000001',
  //   notifyCount: 12,
  // };

  return {
    time: '2016-07-14 09:51:35',
    amUserInfo: {
      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png',
      userName: 'jizheng',
      fullName: '纪政',
      mobilePhone: '13478901234',
      email: 'zheng.ji@topmedia.net.cn',
      idNumber: '123456789123456789',
    },
    msgId: 1,
  };
}
